package com.example.houtai.controller;


import com.example.houtai.entity.TbConfigPremisesProperty;
import com.example.houtai.service.ITbConfigPremisesPropertyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 * 楼盘特色表 前端控制器
 * </p>
 *
 * @author 龚梦
 * @since 2021-04-01
 */
@RestController
@RequestMapping("/sys/premises/property")
public class TbConfigPremisesPropertyController {
    @Autowired
    private ITbConfigPremisesPropertyService service;

    @RequestMapping("getListAll")
    public List<TbConfigPremisesProperty> list(){
        return service.list();
    }
}
